
import request from '@/common/request'

//获取学校列表
export function getSchoolList(data) {
    return request({
        url: '/school/index',
        method: 'post',
        data:data
    })
}
//添加学校
export function addSchool(data) {
    return request({
        url: '/school/add',
        method: 'post',
        data:data
    })
}
//修改学校
export function editSchool(data) {
    return request({
        url: '/school/edit',
        method: 'post',
        data:data
    })
}

export function delShool(id) {
    return request({
        url: '/school/del/id/'+id,
        method: 'get',

    })
}
export function changeStatus(id) {
    return request({
        url: '/school/changeStatus/id/'+id,
        method: 'get',

    })
}

